package com.iwhalecloud.bss.kite.cucc.service.route.enums;

import com.iwhalecloud.bss.kite.cucc.service.route.impl.AbstractInfServRoute;
import com.iwhalecloud.bss.kite.cucc.service.route.impl.DefaultInfServRoute;
import com.iwhalecloud.bss.kite.cucc.service.route.impl.SceneCommitInfServRoute;

public enum InfServRouteEnum {
    
    /**
     * 默认路由
     */
    DEFAULT_ROUTE(DefaultInfServRoute.class),
    
    /**
     * 订单提交服务路由
     */
    SCENE_COMMIT_ROUTE(SceneCommitInfServRoute.class);
    


    private Class<? extends AbstractInfServRoute> clazz;

    private InfServRouteEnum(Class<? extends AbstractInfServRoute> clazz) {
        this.setClazz(clazz);
    }

    public Class<? extends AbstractInfServRoute> getClazz() {
        return clazz;
    }

    public void setClazz(Class<? extends AbstractInfServRoute> clazz) {
        this.clazz = clazz;
    }
}
